<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>社医堂</title>
<link rel="stylesheet" type="text/css" href="../../../css/api.css" />
    <link rel="stylesheet" type="text/css" href="../../../css/hui.css" />
    <link rel="stylesheet" type="text/css" href="../../../css/iconfont.css" />
</head>
<body>

	
<div class="hui-wrap">
		
	<div class="hui-center-title"><h1></h1></div>
	<div class="hui-content" style="padding:18px 8px;" id="content">
			
	</div>
	
</div>


<script src="../../../script/hui.js" type="text/javascript" charset="utf-8"></script>
<script src="../../../script/hui-tab.js" type="text/javascript"></script>
<script src="../../../script/api.js" type="text/javascript" charset="utf-8"></script>
<script src="../../../script/stm.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
apiready = function () {
	islogin(1)

	api.ajax({
        url  : $api.getStorage('geturl')+'&c=ajaxmember&a=newsdetails',
        method: 'post',
        data: {
            values: { 
                id : api.pageParam.id,	
            }
        }
    },function(res, err){

        if (res) {			
            if (res.status==1) {
				
				hui(".hui-center-title h1").html(res.data.title)
				hui("#content").html(res.data.content)
				
            }else{
                api.toast({ msg:res.tip,location:'top' })
            }
        } else {
            alert( JSON.stringify( err ) );
        }
    }); 


}

</script>

</body>
</html>